import React, { Component } from 'react';
import { loadMicroApp } from 'qiankun';

export default class ReactApp extends Component {
  render() {

    loadMicroApp({
      name: 'reactApp', // app name registered
      entry: 'http://localhost:4000',
      container: '#reactAppContainer',
    });

    return (
      <div id='reactAppContainer'>
      </div>
    )
  }
};